On Optimal Algorithms for Generating Random Bits from Loaded Dice
نویسنده
چکیده
The problem of generating random bits from an arbitrary biased coin, dating back to von Neumann’s 1951 work, has been extensively studied. Specifically, given a fixed number of biased coin tosses with unknown probability, it is well known how to generate random bits with an asymptotically optimal efficiency. In this paper we address two basic questions related to the generation of random bits. The first question considers an m-sided die as the source – generalizing the known case of a 2-sided coin. The second question considers variable to fixedlength random number generators – as opposed to the existing fixed to variable-length generators. We are interested in generating random bits from a more general source – an m-sided die with unknown bias (called a loaded die). The question is can we use the existing (or any) optimal algorithms that generate random bits from a biased (2-sided) coin? We provide a positive answer to this question, specifically; we present a universal scheme for transforming an arbitrary algorithm for a biased 2-sided coin to generate random bits from the general source of an m-sided die, hence enabling the application of arbitrary existing algorithms to general sources. We notice that all existing optimal algorithms for biased coins receive as input a fixed number of coin tosses and generate a variable number of random bits. Since the number of random bits generated cannot be accurately controlled, these algorithms are not feasible (or not efficient) for many practical applications. We study this new paradigm and present an optimal universal variable to fixed-length random number generator.
منابع مشابه
Exact Output Rate of Generalized Peres Algorithm for Generating Random Bits from Loaded Dice
We report a computation of the exact output rate of recently-discovered generalization of Peres algorithm for generating random bits from loaded dice. Instead of resorting to brute-force computation for all possible inputs, which becomes quickly impractical as the input size increases, we compute the total output length on equiprobable sets of inputs by dynamic programming using a recursive for...
متن کاملA Universal Scheme for Transforming Binary Algorithms to Generate Random Bits from Loaded Dice
In this paper, we present a universal scheme for transforming an arbitrary algorithm for biased 2-face coins to generate random bits from the general source of an m-sided die, hence enabling the application of existing algorithms to general sources. In addition, we study approaches of efficiently generating a prescribed number of random bits from an arbitrary biased coin. This contrasts with mo...
متن کاملStreaming Algorithms for Optimal Generation of Random Bits
Generating random bits from a source of biased coins (the biased is unknown) is a classical question that was originally studied by von Neumann. There are a number of known algorithms that have asymptotically optimal information efficiency, namely, the expected number of generated random bits per input bit is asymptotically close to the entropy of the source. However, only the original von Neum...
متن کاملOptimal Choice of Random Variables in D-ITG Traffic Generating Tool using Evolutionary Algorithms
Impressive development of computer networks has been required precise evaluation of efficiency of these networks for users and especially internet service providers. Considering the extent of these networks, there has been numerous factors affecting their performance and thoroughly investigation of these networks needs evaluation of the effective parameters by using suitable tools. There are se...
متن کاملRecycling random bits in parallel
We show that r pseudo-random bits can be obtained by concatenating t blocks of r/t pseudo-random bits, where the blocks are generated in parallel. This can be considered as a parallel version of [a] recycling random bits by doing a random walk on an expander. The proof is based on the fact that t simultaneous independent random walks on an expander graph is equivalent to a random walk on a much...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2013